import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { RouterModule } from '@angular/router';

import { FinderSharedModule } from 'app/shared';
import {
    RelationshipComponent,
    RelationshipDetailComponent,
    RelationshipUpdateComponent,
    RelationshipDeletePopupComponent,
    RelationshipDeleteDialogComponent,
    relationshipRoute,
    relationshipPopupRoute
} from './';

const ENTITY_STATES = [...relationshipRoute, ...relationshipPopupRoute];

@NgModule({
    imports: [FinderSharedModule, RouterModule.forChild(ENTITY_STATES)],
    declarations: [
        RelationshipComponent,
        RelationshipDetailComponent,
        RelationshipUpdateComponent,
        RelationshipDeleteDialogComponent,
        RelationshipDeletePopupComponent
    ],
    entryComponents: [
        RelationshipComponent,
        RelationshipUpdateComponent,
        RelationshipDeleteDialogComponent,
        RelationshipDeletePopupComponent
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class FinderRelationshipModule {}
